icm.htmlHTMLudog-πùΔ£πùΔ£ÅÅS Monkeybread Realbasic plugin - Documentation - ICM

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

CreateCMBitmapFromPicture(p as picture) as CMBitmap

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a CMBitmap from a given Realbasic picture.
Notes: The Realbasic picture must be one of the pictures created using newpicture with a depth of 32 bits.

CreateLabProfile as CMProfile

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a default Lab Profile.

CreateLabProfile(x as double,y as double,z as double) as CMProfile

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a Lab Profile for a given Point of xyY.

CreatesRGBProfile as CMProfile

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a default sRGB profile.

CreateTransform(in as CMProfile,out as CMProfile) as CMTransform

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a Transform Object based on two profiles with perceptual intent.

CreateTransform(in as CMProfile,out as CMProfile, Mode as integer) as CMTransform

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a Transform Object based on two profiles with given intent mode.
Notes:
Modes:
0Perceptual
1Colorimetric
2Saturation
3Absolute

CreateXYZProfile as CMProfile

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a default XYZ profile.

NewCMBitmap(width as integer,height as integer,colorspace as integer) as CMBitmap

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Creates a blank CMBitmap.
Notes:
The list of Colorspace signatures:

SigXYZData&h58595A20L 'XYZ '
SigLabData&h4C616220L 'Lab '
SigLuvData&h4C757620L 'Luv '
SigYCbCrData&h59436272L 'YCbr'
SigYxyData&h59787920L 'Yxy '
SigRgbData&h52474220L 'RGB '
SigGrayData &h47524159L 'GRAY'
SigHsvData&h48535620L 'HSV '
SigHlsData&h484C5320L 'HLS '
SigCmykData &h434D594BL 'CMYK'
SigCmyData&h434D5920L 'CMY '
Sig2colorData&h32434C52L '2CLR'
Sig3colorData&h33434C52L '3CLR'
Sig4colorData&h34434C52L '4CLR'
Sig5colorData&h35434C52L '5CLR'
Sig6colorData&h36434C52L '6CLR'
Sig7colorData&h37434C52L '7CLR'
Sig8colorData&h38434C52L '8CLR'
Sig9colorData&h39434C52L '9CLR'
Sig10colorData&h41434C52L 'ACLR'
Sig11colorData&h42434C52L 'BCLR'
Sig12colorData&h43434C52L 'CCLR'
Sig13colorData&h44434C52L 'DCLR'
Sig14colorData&h45434C52L 'ECLR'
Sig15colorData&h46434C52L 'FCLR'

OpenProfileFromFile(file as folderitem) as CMProfile

global method, ICM Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Works.
Function: Opens a profile file.
Notes:
This function uses pathes and may fail because of duplicate disk names!
On a Mac you should be able to use the Colorsync stuff to find the profiles on disk.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ